package com.thinkit.bigdata.web.model.sec;

import org.apache.commons.lang.StringUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lihongli on 2018/9/21
 */
public class QcRelationDto {
    private Long id;
    private Long userId;
    private Long qcGroupId;
    private List<Long> seatGroupIdList = new ArrayList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getQcGroupId() {
        return qcGroupId;
    }

    public void setQcGroupId(Long qcGroupId) {
        this.qcGroupId = qcGroupId;
    }

    public List<Long> getSeatGroupIdList() {
        return seatGroupIdList;
    }

    public void setSeatGroupIdList(List<Long> seatGroupIdList) {
        this.seatGroupIdList = seatGroupIdList;
    }

    @Override
    public String toString() {
        return "qcRelation{userId='" + getUserId() + "', seatGroupList='" + StringUtils.join(getSeatGroupIdList(), ",") + "'}";
    }
}
